/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.rpgmapper.bo.rules;

import org.rpgmapper.bo.Character;

/**
 *
 * @author Nehon
 */
public abstract class Rule {

    protected int duration = -1;
    protected String info;    
    

    public Rule() {
    }

    public Rule(int duration) {
        this.duration = duration;
    }

    public abstract void apply(Character character);  

    public int getDuration() {
        return duration;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }
    
}
